while true;do
    read -t 60 -p "enter command: " cmd
    if [ $cmd == quit ];then
            break
    fi
    $cmd
done
